package vip.ifmm.lehouse.user.service.api;

import vip.ifmm.lehouse.common.dto.ServerResponse;
import vip.ifmm.lehouse.common.model.User;

/**
 * @author: mackyhuang
 * <p>email: mackyhuang@163.com <p>
 * <p>date: 2019/6/16 </p>
 */
public interface UserInfoService {

    ServerResponse getUserInfo(Integer userId);

    ServerResponse updateUserInfo(User user);

    ServerResponse nicknameExisted(String nickname);

    ServerResponse updateHeadImage(User user);
}
